package com.monkey.model.monkey;

import com.monkey.generator.model.TMonkeyReproduct;

import java.text.SimpleDateFormat;

/**
 * desc:
 * auth: chenxiaobin
 * data: 2018/1/16.
 */
public class MonkeyReproduct {
    private int dadid;
    private String dadUuid;
    private int momid;
    private String momUuid;
    private int sonid;
    private String sonUuid;
    private String uuid;
    private String createTime;

    public MonkeyReproduct(TMonkeyReproduct reproduct, String dadUuid, String momUuid, String sonUuid, SimpleDateFormat sdf) {
        this.dadid = reproduct.getDadid();
        this.dadUuid = dadUuid;
        this.momid = reproduct.getMomid();
        this.momUuid = momUuid;
        this.sonid = reproduct.getSonid();
        this.sonUuid = sonUuid;
        this.uuid = reproduct.getUuid();
        this.createTime = sdf.format(reproduct.getCreatetime());
    }

    public int getDadid() {
        return dadid;
    }

    public String getDadUuid() {
        return dadUuid;
    }

    public int getMomid() {
        return momid;
    }

    public String getMomUuid() {
        return momUuid;
    }

    public int getSonid() {
        return sonid;
    }

    public String getSonUuid() {
        return sonUuid;
    }

    public String getUuid() {
        return uuid;
    }

    public String getCreateTime() {
        return createTime;
    }
}
